package shape;

/**
 * @author Ken "David" McClain
 */

import java.awt.Color;

import main.SceneGraphNode;

public class Compound extends SceneGraphNode {
	
	public Compound() {
		super(true);
		
		Square square = new Square(false);
		square.setColor(Color.RED);
		square.translateY = 1.4f;
		square.rotation = 45f;
		square.scale = 1.2f;
		addChild(square);
		
		square = new Square(false);
		square.setColor(Color.BLUE);
		square.translateY = -.25f;
		square.scale = 1.5f;
		addChild(square);
		
		Ellipse ellipse = new Ellipse(false);
		ellipse.setColor(Color.YELLOW);
		ellipse.translateY = -1.9f;
		ellipse.scale = .9f;
		addChild(ellipse);
		
	}
	
}
